package com.goods.business.service;

import com.goods.common.vo.business.ProductStockVO;
import com.goods.common.vo.business.ProductVO;
import com.goods.common.vo.system.PageVO;

import java.util.Map;

/**
 * @Author jiaoyanlin
 * @Date 2021/11/8 21:34
 * @Description ProductService
 */
public interface ProductService {
    PageVO<ProductVO> findProductList(Map<String,Object> queryMap);

    ProductVO edit(String id);

    void update(ProductVO productVo, Long id);

    void back(Long id);

    void add(Map<String,Object> map);

    void remove(Long id);

    void delete(Long id);

    void publish(Long id);

    PageVO<ProductStockVO> findProductStocks(Map<String, Object> map);

    PageVO<ProductStockVO> findAllStocks(Integer pageNum, Integer pageSize);
}
